package com.bojiu.lawsearch.lawsearch.controller;

import com.bojiu.lawsearch.lawsearch.util.MsgUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: afdiao
 * @Date：2020/3/28 23:56
 * @Description:
 */
@RestController
@RequestMapping("test")
public class TestController {
    @Autowired
    MsgUtil msgUtil;

    @GetMapping("msg")
    public String sendMsg() {
//        String s = msgUtil.sendMsg("15951909300","007");
        msgUtil.sendMsg("15951909300","11");
        return null;
    }
}
